package com.example.fresh_market.entity;

import android.content.Context;

import lombok.Data;

@Data
public class User {
    private final String username;
    private final String password;
    private final Context mContext;

    public User(String username, String password, Context mContext) {
        this.username = username;
        this.password = password;
        this.mContext = mContext;
    }

    public User(String username) {
        this.username = username;
        this.password = "";
        mContext = null;
    }

    public User(String username, Context mContext) {
        this.username = username;
        this.password = null;
        this.mContext = mContext;
    }

    public User(String username, String password) {
        this.username = username;
        this.password = password;
        mContext = null;
    }
}
